import 'package:flutter/material.dart';
import 'package:get/get_utils/get_utils.dart';

class ForgetPsdState {
//表单的校验与数据
  Map<String, Map<String, dynamic>> formData = {
    'phone': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': '请输入手机号码'.tr,
      'obsecure': false,
    },
    'code': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': '请输入验证码'.tr,
      'obsecure': false,
    },
    'password': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': '请输入新密码'.tr,
      'obsecure': true,
    },
    'new_password': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': '请再次输入新密码'.tr,
      'obsecure': true,
    },
  };
}
